Skip to content

chore(deps): migrate to react 17.x#205

Merged
smarcet merged 3 commits intofeature/mui-componentsfrom
feature/5.x-react-17-x-upgrade
Apr 1, 2026
Merged

chore(deps): migrate to react 17.x#205
smarcet merged 3 commits intofeature/mui-componentsfrom
feature/5.x-react-17-x-upgrade

Conversation

@smarcet
Copy link
Copy Markdown
Collaborator

@smarcet smarcet commented Apr 1, 2026

Summary by CodeRabbit

  • Chores
    • Upgraded React runtime and peer dependencies from version 16 to version 17.
    • Removed unused testing library dependencies.
    • Updated repository configuration files.

@smarcet smarcet requested a review from santipalenque April 1, 2026 18:06
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 1, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ea7873e8-9ecc-466c-b76e-e386978b8f45

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/5.x-react-17-x-upgrade

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates this React component library to target React 17, removing deprecated DOM-node access and cleaning up related test/dependency tooling.

Changes:

  • Bump react / react-dom to ^17.0.0 (dev + peer deps).
  • Remove Enzyme + React 16 Enzyme adapter dependencies.
  • Replace ReactDOM.findDOMNode(...) usage with a direct ref (getBoundingClientRect()), and update .gitignore.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
package.json Updates React/ReactDOM to 17 and removes Enzyme tooling from dependencies.
src/components/schedule-builder-view/schedule-event-list.js Removes findDOMNode usage in favor of direct DOM ref access (React 17-compatible).
yarn.lock Lockfile updates reflecting React 17 upgrade and removal of Enzyme-related packages.
.gitignore Ignores .codegraph.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: smarcet <smarcet@gmail.com>
@smarcet smarcet force-pushed the feature/5.x-react-17-x-upgrade branch from 656c91a to 9c5a9b9 Compare April 1, 2026 18:21
Copy link
Copy Markdown
Contributor

@santipalenque santipalenque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@smarcet smarcet merged commit 01d4ac8 into feature/mui-components Apr 1, 2026
5 checks passed
smarcet added a commit that referenced this pull request Apr 1, 2026
* feat: add mui componentes from summit-admin

* fix: adding tests

* fix: change react version to match admin, fix queries

* fix: query action

* fix: PR review feedback

* fix: update pricefield

* chore(deps): migrate to react 17.x (#205)

* chore(deps): migrate to react 17.x

* chore: fix warnings

Signed-off-by: smarcet <smarcet@gmail.com>

* chore(unit-tests): fix

---------

Signed-off-by: smarcet <smarcet@gmail.com>

* fix: price field null value

---------

Signed-off-by: smarcet <smarcet@gmail.com>
Co-authored-by: sebastian marcet <smarcet@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants